package cn.com.wxd.wechat.mass.bean;

import java.io.Serializable;

import cn.com.wxd.wechat.mass.util.json.WxMpGsonBuilder;

/**
 * 语义理解查询用对象 http://mp.weixin.qq.com/wiki/index.php?title=语义理解
 * @author
 */
public class WxMpSemanticQuery implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 468379615160421486L;
	private String query;
	private String category;
	private Float latitude;
	private Float longitude;
	private String city;
	private String region;
	private String appid;
	private String uid;

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public Float getLatitude() {
		return latitude;
	}

	public void setLatitude(Float latitude) {
		this.latitude = latitude;
	}

	public Float getLongitude() {
		return longitude;
	}

	public void setLongitude(Float longitude) {
		this.longitude = longitude;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String toJson() {
		return WxMpGsonBuilder.create().toJson(this);
	}

}
